/*
 * @Author: jlzm
 * @Date: 2020-03-05 16:53:23
 * @LastEditors: jlzm
 * @LastEditTime: 2020-06-18 10:44:21
 * @FilePath: \MPShop\hub\api\customerServer\info.js
 */
import {
    request
} from "./index";

// 用户模块
const apiModule = 'customerInfoApp/';

// 登录
export const customerLogin = (data) => {
    return request(apiModule + 'login', data);
}

// 用户详情
export const queryCustomerDeatil = (data) => {
    return request(apiModule + 'queryDetailsToCus', data);
}

// 新增/修改
export const updateCustomer = (data) => {
    return request(apiModule + 'save', data);
}

// 用户等级
export const queryCustomerLevel = (data) => {
    return request(apiModule + 'customerLevelDetailsToCus', data);
}